package com.ruipengkj.bean;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name="titempic")
public class TItempic implements Serializable{
	
	private static final long serialVersionUID = 1L;
	
	private String Name;//图片名
	
	private String RelItemID;//相关对象编号
	
	private byte RelType;//相关对象类型

	@Id
	@Column(name = "Name", length=20)
	public String getName() {
		return Name;
	}

	public void setName(String name) {
		Name = name;
	}
	
	@Column(name = "RelItemID", length=15)
	public String getRelItemID() {
		return RelItemID;
	}

	public void setRelItemID(String relItemID) {
		RelItemID = relItemID;
	}

	@Column(name = "RelType")
	public byte getRelType() {
		return RelType;
	}

	public void setRelType(byte relType) {
		RelType = relType;
	}
	
}
